home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / nos18b.zip / AUTOEXEC.NOS < prev    next >
Text File  |  1992-01-09  |  9KB  |  274 lines

  1. #  A U T O E X E C . N O S
  2. #
  3. # last changed 07-JAN-91
  4. #
  5. #  The configuration file for the NET.EXE program...  this file
  6. #  *MUST* be in the root directory ( \ ) of your current disk when
  7. #  NET.EXE is run!
  8. #
  9. #  Note: NET.EXE ignores all lines beginning with a pound sign (#).
  10. #
  11. #  **********************************************************
  12. #  **** Read USEGUIDE.DOC to help understand this file! *****
  13. #  **********************************************************
  14. #
  15. #    There are many commands which must be provided to NET.EXE 
  16. #    each time it is started to configure the program.  To keep
  17. #    from having to type them by hand each time, we put them in
  18. #    this file, which is read each time NET starts up.  Commands
  19. #    in this configuration file are entered exactly as they would
  20. #    be typed at the keyboard in the program.
  21. #
  22. #    We've tried to give you intelligent default values for each of
  23. #    the commands below.  You need to read completely through this
  24. #    file, changing things as you go.  If you're not sure what to
  25. #    do with a command, try leaving it like it is!  Once you become
  26. #    familiar with the package, you'll no doubt find things to change.
  27. #    Once you're up and running and are all set, you can delete some or
  28. #    all of the comment lines (the ones that start with '#') to save
  29. #    disk space and make the program load faster, if you wish.
  30. #
  31. #-----------------------------------------------
  32. # This entry tells NET.EXE the name of your machine. The suffix 
  33. # 'ampr' is not officially confirmed *yet*, but for now we'll use
  34. # it to identify this station as an "AMateur Packet Radio" station.
  35. # Your hostname will show up in mail headers, etc.
  36. #
  37. hostname mac.ve3ec.ampr.org.
  38. #
  39. #-----------------------------------------------
  40. #
  41. # The next line does the same thing that "MYCALL" did in your AX.25 
  42. # TNC... it identifies the callsign you're using on the air in AX.25
  43. # packets.
  44. #
  45. ax25 mycall ve3ec
  46. #
  47. #-----------------------------------------------
  48. #
  49. # This one contains your IP address.  If you have not as yet 
  50. # obtained an IP address you may temporarily use the one shown
  51. # but insert a random number (between 1 and 255) in lieu of
  52. # the '*'.  Try to insure that no one else in your area is using
  53. # the same number as you are!  Brackets are required.
  54. #
  55. #
  56. ip address [44.135.85.11]
  57. #
  58. #------------------------------------------------
  59. #
  60. # The attach command tells NET.EXE about the interfaces in your computer
  61. # that you will be using for TCP/IP.  These can include normal IBM-type
  62. # serial "comm ports", Ethernet controllers, or dedicated packet cards.
  63. # The syntax is:
  64. # attach <hw type> <I/O address> <vector> <mode> <label> <bufsize> 
  65. #        <mtu> [<speed>]
  66. #
  67. # See USEGUIDE.DOC for explanation of the attach command and its options.
  68. #
  69. # This entry sets you up on COM1 as a 4800 baud KISS connection 
  70. # for use with KISS TNC's.  This is a reasonable place to start...
  71. #
  72. attach asy 0x3f8 4 ax25 ax0 2048 256 9600
  73. #
  74. # ...and here are some other possible attach commands you may find useful
  75. # as given, or just as examples of what you can do... see USEGUIDE.DOC for
  76. # more examples.
  77. #
  78. # COM2: set up as a 1200 baud KISS connection
  79. #
  80. #attach asy 0x2f8 3 ax25 ax1 2048 256 1200
  81. #
  82. # COM1: set up as a 9600 baud slip link to another computer
  83. #
  84. #attach asy 0x3f8 4 slip sl0 8092 576 9600
  85. #
  86. #-------------------------------------------------
  87. #
  88. # The KISS computer-to-tnc protocol includes a "command packet" that
  89. # you can use to twiddle TNC parameters like TXDELAY, TXTAIL, PERSIST,
  90. # and SLOTTIME.  Since most KISS implementations include good default
  91. # values, you shouldn't have to use this feature, but if things don't
  92. # work, you can use the "param" command to try tweaking the TNC.  If
  93. # you think you need to do this, read the KISS protocol documentation,
  94. # and/or talk to a friend who's an expert, *before* you go dorking with
  95. # your TNC settings!  All TNC's were not created equal, so you *MUST* read
  96. # the docs for the KISS implementation for your TNC as well.
  97. #
  98. # WHEW!  Good thing you probably don't have to do this, right?
  99. #
  100. # As an example, N3EUA's TNC-1 with a gross old crystal
  101. # rig likes longer TXDELAY and TXTAIL values than the defaults:
  102. #
  103. #          param ax0 1 20
  104. #          param ax0 4 10
  105. #
  106. # The format is:  param <label> <hex value> <hex value> <hex value> ...
  107. #
  108. #-------------------------------------------------
  109. #
  110. # The following entry tells the program to route all packets out 
  111. # the interface labeled ax0 in the attach command.  Notice that if you
  112. # are using the attach line from above for COM2, the label is 'ax1'
  113. # instead.  
  114. #
  115. route add default ax0
  116. #
  117. #-------------------------------------------------
  118. #
  119. # Time To Live is the maximum number of hops a packet can take 
  120. # before it is thrown away. This command prevents an inadvertent 
  121. # infinite loop from occuring with packets in the network.
  122. #
  123. ip ttl 16
  124. #
  125. #-------------------------------------------------
  126. #
  127. # The Maximum Segment Size is the largest single transmission that 
  128. # you will send. An mss of 216 corresponds to the mtu of 256 set
  129. # up in the attach command above, overhead bytes considered.
  130. #
  131. tcp mss 216
  132. #
  133. #-------------------------------------------------
  134. #
  135. # The Window parameter establishes the maximum number of bytes 
  136. # that may be outstanding before your system expects an ack.
  137. # If window is twice as big as mss, for example, there will be two
  138. # active packets on the channel at any given time... large values of
  139. # window provide improved throughput on full-duplex links, but are a
  140. # problem on the air.  Keep  mss <= window <= 2*mss if you're on the air.
  141. #
  142. tcp window 432
  143. #
  144. #------------------------------------------------- 
  145. #
  146. # This entry will open net.log in the \spool directory and will 
  147. # record the server activity of your system.  If you don't want a log,
  148. # comment out this line... if you do, make sure you have a \spool
  149. # directory!
  150. #
  151. log \spool\net.log
  152. #
  153. #-------------------------------------------------
  154. #
  155. # Each of the servers (services you will provide) must be turned 
  156. # on before they will be active. The following entries turn all 
  157. # of them on. To turn any function off use the command 'stop' after
  158. # NET gets fired up, or just comment out the line here.
  159. #
  160. start smtp
  161. start ftp
  162. start echo
  163. start discard
  164. start telnet
  165. start finger
  166. start ax25
  167. #start netrom
  168. start ttylink
  169. #start pop
  170. #start rip
  171. #
  172. #-------------------------------------------------- 
  173. #
  174. # AX.25 Configuration 
  175. #
  176. # The values in the following entries reflect default values.
  177. # These values come into play when you are operating in the 
  178. # AX.25 mode, along with your ax25 mycall entry above. 
  179. #                                                                    
  180. # If you want to operate as a digipeater (for those poor souls
  181. # not operating TCP/IP!), change 'off' to 'on'.
  182. #
  183. ax25 digipeat on
  184. ax25 timertype linear
  185. ax25 blimit 10
  186. #
  187. #---------------------------------------------------
  188. #
  189. # Maxframe sets the max number of frames allowed to remain 
  190. # unacknowledged. Cannot be greater than 7.  1 is a good number!
  191. #
  192. ax25 maxframe 1
  193. #
  194. #---------------------------------------------------
  195. #
  196. # Paclen limits the size of I=fields. 
  197. #
  198. ax25 paclen 256
  199. #
  200. #---------------------------------------------------
  201. #
  202. # Retry limits the number of unsuccessful retransmissions.
  203. #
  204. ax25 retry 30
  205. #
  206. #---------------------------------------------------
  207. #
  208. # ax25 window sets the number of bytes that can be pending on an 
  209. # AX.25 receive queue.
  210. #
  211. ax25 window 2048
  212. #
  213. #-----------------------------------------------------
  214. #     POP Stuff
  215. #
  216. smtp timer 600
  217. #pop mailhost 44.135.85.7
  218. #pop userdata ve3ec ve3ec
  219. #pop mailbox ve3ec
  220. #pop timer 1800
  221. #
  222. #-----------------------------------------------------
  223. #
  224. mbox attend
  225. #-----------------------------------------------------
  226. #
  227. #     RSPF stuff
  228. #
  229. #ifconfig ax0 broadcast 44.255.255.255
  230. #rspf interface ax0 1 32
  231. #rspf rrhtimer 900
  232. #rspf suspecttimer 2000
  233. #rspf timer 900
  234. #
  235. #
  236. #-----------------------------------------------------
  237. #
  238. #
  239. #       NetRom stuff
  240. #
  241. attach netrom
  242. netrom interface ax0 ipec2 192
  243. netrom nodetimer 900
  244. netrom obsotimer 1000
  245. #
  246. #route add [44.135.85.2] netrom ve3dvv
  247. #arp add ve3dvv.ampr.org netrom ve3dvv
  248. #
  249. #route add [44.135.88.5] netrom ve3mcf
  250. #arp add ve3mcf.ampr.org netrom ve3mcf-5
  251. #
  252. #route add [44.135.88.71] netrom ve3pnx
  253. #arp add ve3pnx.ampr.org netrom ve3pnx
  254. #
  255. #route add [44.135.88.70] netrom ve3rpi
  256. #arp add ve3rpi.ampr.org netrom ve3rpi
  257. #
  258. #netrom bcnodes ax0
  259. #
  260. #
  261. #-----------------------------------------------------
  262. #
  263. #
  264. #
  265. tcp timer exp
  266. ax timer linear
  267. #
  268. #
  269. #
  270. # THE END
  271.